package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.User;

public interface UserService {
    public User findByUsername(String username);


    public void add(User user,Integer[] roleIds);
    public PageResult pageQuery(QueryPageBean queryPageBean);
    public void deleteById(Integer id);
    public void edit(User user,Integer[] roleIds);
    public User findById(Integer id);
    Integer[] findRoleAndUser(Integer id);
}
